package coreservlets.client;


import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="message")
public class Message implements Serializable{
  @Id 
   private int id;
   private String message;
   
   public Message(){};

   public int getId()
   {
	   return id;
   }
   public void setId(int id)
   {
	   this.id=id;
   }
   public String getMessage() {
	      return message;
	   }
   public void setMessage(String message) {
      this.message = message;
   }
   
}